<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>文章列表</title>
</head>

<body>
    <ul>
        <%
       for(let i=0;i<articleData.list.length;i++){
           const article=articleData.list[i];
        %>
            <li>
                <a href="/article/<%=article.articleId%>">
                    <%=article.title%>
                </a>
            </li>
            <%
       }
       %>
    </ul>
</body>

</html>